﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006ED RID: 1773
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendChallengeLineupCsReq : IMessage<GetFriendChallengeLineupCsReq>, IMessage, IEquatable<GetFriendChallengeLineupCsReq>, IDeepCloneable<GetFriendChallengeLineupCsReq>, IBufferMessage
	{
		// Token: 0x170016C7 RID: 5831
		// (get) Token: 0x06004FDC RID: 20444 RVA: 0x000D9968 File Offset: 0x000D7B68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendChallengeLineupCsReq> Parser
		{
			get
			{
				return GetFriendChallengeLineupCsReq._parser;
			}
		}

		// Token: 0x170016C8 RID: 5832
		// (get) Token: 0x06004FDD RID: 20445 RVA: 0x000D996F File Offset: 0x000D7B6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendChallengeLineupCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170016C9 RID: 5833
		// (get) Token: 0x06004FDE RID: 20446 RVA: 0x000D9981 File Offset: 0x000D7B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendChallengeLineupCsReq.Descriptor;
			}
		}

		// Token: 0x06004FDF RID: 20447 RVA: 0x000D9988 File Offset: 0x000D7B88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendChallengeLineupCsReq()
		{
		}

		// Token: 0x06004FE0 RID: 20448 RVA: 0x000D9990 File Offset: 0x000D7B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendChallengeLineupCsReq(GetFriendChallengeLineupCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004FE1 RID: 20449 RVA: 0x000D99B5 File Offset: 0x000D7BB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendChallengeLineupCsReq Clone()
		{
			return new GetFriendChallengeLineupCsReq(this);
		}

		// Token: 0x170016CA RID: 5834
		// (get) Token: 0x06004FE2 RID: 20450 RVA: 0x000D99BD File Offset: 0x000D7BBD
		// (set) Token: 0x06004FE3 RID: 20451 RVA: 0x000D99C5 File Offset: 0x000D7BC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x06004FE4 RID: 20452 RVA: 0x000D99CE File Offset: 0x000D7BCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendChallengeLineupCsReq);
		}

		// Token: 0x06004FE5 RID: 20453 RVA: 0x000D99DC File Offset: 0x000D7BDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendChallengeLineupCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004FE6 RID: 20454 RVA: 0x000D9A0C File Offset: 0x000D7C0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004FE7 RID: 20455 RVA: 0x000D9A4B File Offset: 0x000D7C4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004FE8 RID: 20456 RVA: 0x000D9A53 File Offset: 0x000D7C53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004FE9 RID: 20457 RVA: 0x000D9A5C File Offset: 0x000D7C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004FEA RID: 20458 RVA: 0x000D9A90 File Offset: 0x000D7C90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004FEB RID: 20459 RVA: 0x000D9ACE File Offset: 0x000D7CCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendChallengeLineupCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004FEC RID: 20460 RVA: 0x000D9AFF File Offset: 0x000D7CFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004FED RID: 20461 RVA: 0x000D9B08 File Offset: 0x000D7D08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001F6C RID: 8044
		private static readonly MessageParser<GetFriendChallengeLineupCsReq> _parser = new MessageParser<GetFriendChallengeLineupCsReq>(() => new GetFriendChallengeLineupCsReq());

		// Token: 0x04001F6D RID: 8045
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F6E RID: 8046
		public const int ChallengeIdFieldNumber = 4;

		// Token: 0x04001F6F RID: 8047
		private uint challengeId_;
	}
}
